# name ='MaoTest_'
# with open('./user_name-1w.txt','w',encoding='UTF-8') as f:
#     for i in range(10000):
#         f.write(name + str(i) + "\n")
#
# print("结束")

# phone = 15400010000
str1 = '154000'
with open('./phone-1w.txt','w',encoding='UTF-8') as f:
    for i in range(10000):
        str2 = "{:05d}".format(i)      # 造5位数的数据，不足五位用0往左填充
        str3 = str1 + str2
        # num = int(str3)      -------啊啊啊啊 写入文件居然是要写入字符串，不能写入数字
        # f.write(num)
        # f.write('\n')
        f.write(str3 + '\n')

print("结束")

# for i in range(10):
#     str2 = "{:05d}".format(i)      # 造5位数的数据，不足五位用0往左填充
#     str3 = str1 + str2
#     # print(str3,type(str3))
#     num = int(str3)
#     print(num,type(num))


